Know your place: Selectively executing statements based on context
نویسنده
چکیده
This project provides a way for programmers to insert runtime context-sensitive code into their C programs. The idea is that a program will execute a piece of code only if the program is in a given calling context (i.e., a stack of procedure calls). One way to accomplish this technique is for the program to examine the runtime stack, determine if it matches a given context, then execute the context-sensitive code. Of course, this method is extremely inefficient. A more efficient way to determine the context is to staticly compute a unique “context value” for every possible context along a chain of procedure calls. At runtime, the program compares the actual context number to the desired context number. If these numbers are equivalent, the program executes the context-sensitive code. This facility can be useful in several scenarios:
منابع مشابه
“Take as your place of worship the place where Abraham stood (to pray).”
In the verse “Take as your place of worship the place where Abraham stood (to pray)” Abraham’s position is an intense discussion among Fariqain commentators. Commentary of this verse as Mosalla of Tawaf prayer and Tawaf area has a practical and jurisprudential role during Hajj and Umrah. On commentary of Abraham’s position and his status, more than six exegetic viewpoints have been proposed fro...
متن کاملIs Christianity Bad for Your Health?
Without Christianity, the world would be a better place. So says a growing body of scholarship on the effects of religion on physical and mental health. The central claim is that Christian belief and practices are neutral or positively bad for your health, and that studies to the contrary are badly flawed, “weak,” or inconsistent with other studies and, hence, can be ignored. In one recent arti...
متن کاملContext-based routing in dynamic networks
Find the secret to improve the quality of life by reading this context based routing in dynamic networks. This is a kind of book that you need now. Besides, it can be your favorite book to read after having this book. Do you ask why? Well, this is a book that has different characteristic with others. You may not need to know who the author is, how well-known the work is. As wise word, never jud...
متن کاملP14: How to Find a Talent?
Talents may be artistic or technical, mental or physical, personal or social. You can be a talented introvert or a talented extrovert. Learning to look for your talents in the right places and building those talents into skills and abilities might take some work, but going about it creatively will let you explore your natural abilities and find your innate talents. You’re not going to fin...
متن کاملThe Building of Intellectual Capital Statements in Multinationals: Challenges for the Future
Multinational companies (MNCs) are facing important challenges within the current economic context. Rapid technological changes, the globalization of the economy, the existence of increasingly demanding consumers are, among other factors, the origin of the difficulties involved in achieving and sustaining a competitive advantage in the long term.One of the keys for overcoming these difficulties...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007